<%@ page contentType="text/html" isELIgnored="false" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
	<head>
		<title>CF Mobile</title>
		
		<meta name="apple-mobile-web-app-capable" content="yes" />
		<meta name="apple-mobile-web-app-status-bar-style" content="black" />
		<meta name="viewport" content="width=device-width, user-scalable=no" />
		<link rel="apple-touch-icon" href="/static/mobile/CFIcon.png" />
		  
		<link rel="stylesheet" href="/static/jqmobile/jquery.mobile-1.0a3.min.css" />
		
		<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script>
		<script type="text/javascript" src="/static/scripts/jq-plugins/jquery.json-2.2.min.js"></script>
		<script type="text/javascript" src="/static/scripts/jq-plugins/jstorage.min.js"></script>
		
		<script src="/static/mobile/app.js"></script>
		<script type="text/javascript" src="/static/jqmobile/jquery.mobile-1.0a3.min.js"></script>
	</head>
	<body>
		<div data-role="page">
			<div data-role="header">
				<h1>CF Mobile</h1>
				<a href="#favorites" data-icon="star" data-theme="b" class="ui-btn-right" data-transition="flip">Faves</a>
			</div>
			
			<div data-role="content">
				<ul id="forumList" data-role="listview">
				
				</ul>
			</div>
			
			<div data-role="footer">
				<h4>Powered by TFX</h4>
			</div>
		</div>
		
		<div id="forum" data-role="page">
			<div data-role="header">
				<h1 id="forumName">Loading forum...</h1>
				<a id="addFavoriteForum" href="#" data-icon="star" class="ui-btn-right">+ Fave</a>
			</div>
			
			<div data-role="content">
				<ul id="threadList" data-role="listview">
				
				</ul>
			</div>
			
			<div data-role="footer">
				<h4>Powered by TFX</h4>
			</div>
		</div>
		
		<div id="thread" data-role="page">
			<div data-role="header">
				<h1 id="threadTitle">Loading thread...</h1>
			</div>
			
			<div id="threadContent" data-role="content">
				
			</div>
			
			<div data-role="footer">
				<h4 id="loadMore">Load More</h4>
			</div>
		</div>
		
		<div id="favorites" data-role="page">
			<div data-role="header">
				<h1>Favorites</h1>
				<a id="enableDeleteFavorites" data-icon="delete" class="ui-btn-right">Delete...</a>
			</div>
			
			<div data-role="content">
				<ul id="favoriteForumsList" data-role="listview">
					
				</ul>
			</div>
		</div>
	</body>
</html>